using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN HocKyEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: HocKyEntity</para>
	/// <para>Description: ClassHocKyEntity store data of table HocKy</para>
	///</summary>

	[DataContract]
	public partial class HocKyEntity{


		private bool _InternalChangedIsNullHocKy_ID=true;
		private bool _IsNullHocKy_ID=true;
		private bool _InternalChangedIsNullMaHocKy=true;
		private bool _IsNullMaHocKy=true;
		private bool _InternalChangedIsNullTenHocKy=true;
		private bool _IsNullTenHocKy=true;
		private bool _InternalChangedIsNullMoTa=true;
		private bool _IsNullMoTa=true;
		private bool _InternalChangedIsNullThuTu=true;
		private bool _IsNullThuTu=true;
		private bool _InternalChangedIsNullHocKyHienTai=true;
		private bool _IsNullHocKyHienTai=true;
		private int _HocKy_ID;
		private string _MaHocKy;
		private string _TenHocKy;
		private string _MoTa;
		private int _ThuTu;
		private bool _HocKyHienTai;
		[DataMember]
		public bool IsNullHocKy_ID{
			get{return _IsNullHocKy_ID;}
			set{if(!_InternalChangedIsNullHocKy_ID)_IsNullHocKy_ID=value;}
		}
		[DataMember]
		public bool IsNullMaHocKy{
			get{return _IsNullMaHocKy;}
			set{if(!_InternalChangedIsNullMaHocKy)_IsNullMaHocKy=value;}
		}
		[DataMember]
		public bool IsNullTenHocKy{
			get{return _IsNullTenHocKy;}
			set{if(!_InternalChangedIsNullTenHocKy)_IsNullTenHocKy=value;}
		}
		[DataMember]
		public bool IsNullMoTa{
			get{return _IsNullMoTa;}
			set{if(!_InternalChangedIsNullMoTa)_IsNullMoTa=value;}
		}
		[DataMember]
		public bool IsNullThuTu{
			get{return _IsNullThuTu;}
			set{if(!_InternalChangedIsNullThuTu)_IsNullThuTu=value;}
		}
		[DataMember]
		public bool IsNullHocKyHienTai{
			get{return _IsNullHocKyHienTai;}
			set{if(!_InternalChangedIsNullHocKyHienTai)_IsNullHocKyHienTai=value;}
		}
		[DataMember]
		public int HocKy_ID{
			get{return _HocKy_ID;}
			set{
				_HocKy_ID=value;
				if(_HocKy_ID!=null){
					_IsNullHocKy_ID=false;
					_InternalChangedIsNullHocKy_ID=true;
				}
			}
		}
		[DataMember]
		public string MaHocKy{
			get{return _MaHocKy;}
			set{
				_MaHocKy=value;
				if(_MaHocKy!=null){
					_IsNullMaHocKy=false;
					_InternalChangedIsNullMaHocKy=true;
				}
			}
		}
		[DataMember]
		public string TenHocKy{
			get{return _TenHocKy;}
			set{
				_TenHocKy=value;
				if(_TenHocKy!=null){
					_IsNullTenHocKy=false;
					_InternalChangedIsNullTenHocKy=true;
				}
			}
		}
		[DataMember]
		public string MoTa{
			get{return _MoTa;}
			set{
				_MoTa=value;
				if(_MoTa!=null){
					_IsNullMoTa=false;
					_InternalChangedIsNullMoTa=true;
				}
			}
		}
		[DataMember]
		public int ThuTu{
			get{return _ThuTu;}
			set{
				_ThuTu=value;
				if(_ThuTu!=null){
					_IsNullThuTu=false;
					_InternalChangedIsNullThuTu=true;
				}
			}
		}
		[DataMember]
		public bool HocKyHienTai{
			get{return _HocKyHienTai;}
			set{
				_HocKyHienTai=value;
				if(_HocKyHienTai!=null){
					_IsNullHocKyHienTai=false;
					_InternalChangedIsNullHocKyHienTai=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END HocKyEntityBase*****************************************/
	/*****************************************************************************************************/
}

